<!-- Add the class 'table' -->
<table class="table" cellspacing="0" width="100%">

    <thead>
        <tr>
            <th scope="col">Email</th>
            <th scope="col">Login</th>
            <th scope="col">Imagem</th>
            <th scope="col">Data de Criação</th>
            <th scope="col">Situação</th>
            <th scope="col" class="table-actions">Ações</th>
        </tr>
    </thead>
    
    <tbody>

    {foreach $admins as $admin}
        <tr>            
            <td>{$admin->getEmail()}</td>
            <td>{$admin->getLogin()}</td>
            <td><a href="#"><small><img src="{$admin->getMedia()->getCaminhoMini()}" width="16" height="16" class="picto"></small></a></td>
            <td>{$admin->getDataCriacao()}</td>
            <td>{$admin->getStatus()->getDescricao()}</td>

            <!-- The class table-actions is designed for action icons -->
            <td class="table-actions">
                <a href="AdminAction.editar!adminID-{$admin->getUsuarioID()}" title="Editar" class="with-tip"><img alt="edit" src="include/images/icons/fugue/pencil.png" width="16" height="16"/></a>
                <a href="javascript:void(0);" onclick="abrirModalConfirmacao('AdminAction.excluir!adminID-{$admin->getUsuarioID()}');" title="Deletar" class="with-tip"><img alt="del" src="include/images/icons/fugue/cross-circle.png" width="16" height="16"/></a>
            </td>
        </tr>

        {/foreach}

    </tbody>

</table>

{include file="view/include/paginacao.tpl"}